home *** CD-ROM | disk | FTP | other *** search
-
-
-
- tttt6666ggggeeeetttt____aaaattttttttrrrr////tttt6666sssseeeetttt____aaaattttttttrrrr((((3333NNNN)))) tttt6666ggggeeeetttt____aaaattttttttrrrr////tttt6666sssseeeetttt____aaaattttttttrrrr((((3333NNNN))))
-
-
-
- NNNNAAAAMMMMEEEE
- t6get_attr, t6set_attr - Get or set security attributes
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- cccccccc [[[[ ffffllllaaaaggggssss ............ ]]]] ffffiiiilllleeee
-
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////tttt6666aaaattttttttrrrrssss....hhhh>>>>
-
- vvvvooooiiiidddd ****tttt6666ggggeeeetttt____aaaattttttttrrrr((((tttt6666aaaattttttttrrrr____iiiidddd____tttt aaaattttttttrrrr____ttttyyyyppppeeee,,,, ccccoooonnnnsssstttt tttt6666aaaattttttttrrrr____tttt tttt6666ccccttttllll))))
-
- iiiinnnntttt tttt6666sssseeeetttt____aaaattttttttrrrr((((tttt6666aaaattttttttrrrr____iiiidddd____tttt aaaattttttttrrrr____ttttyyyyppppeeee,,,, ccccoooonnnnsssstttt vvvvooooiiiidddd ****aaaattttttttrrrr____bbbbuuuuffff,,,, tttt6666aaaattttttttrrrr____tttt
- tttt6666ccccttttllll))))
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _t_6_g_e_t__a_t_t_r() takes a control structure, _t_6_c_t_l, and attribute type,
- _a_t_t_r__t_y_p_e, and returns a pointer to the requested attribute value (type)
- from the opaque control structure _t_6_c_t_l. _a_t_t_r__t_y_p_e contains a number
- defined in <_s_y_s/_t_6_a_t_t_r_s._h> that specifies what type of attribute that the
- caller is interested in getting. Only one type can be specified per
- call.
-
- Returned value by _t_6_g_e_t__a_t_t_r() should be type cast to the standard type
- that represents the type indicated by _a_t_t_r__t_y_p_e.
-
- _t_6_s_e_t__a_t_t_r() replaces the requested attribute value (type) in _t_6_c_t_l with
- the value pointed to by _a_t_t_r__b_u_f. Type of the attribute is specified in
- _a_t_t_r__t_y_p_e as one of the numbers defined in <_s_y_s/_t_6_a_t_t_r_s._h>, and also
- listed in the following table:
-
- NNNNAAAAMMMMEEEE of attribute TTTTYYYYPPPPEEEE
-
- T6_SL msen_t
-
- T6_NAT_CAVEATS char * (size = T6_MAX_TEXT_BUF)
-
- T6_INTEG_LABEL mint_t
-
- T6_SESSION_ID uid_t *
-
- T6_CLEARANCE msen_t
-
- T6_ACL acl_t
-
- T6_IL _n_o_t _i_m_p_l_e_m_e_n_t_e_d
-
- T6_PRIVILEGES cap_t
-
- T6_AUDIT_ID uid_t *
-
- T6_PID pid_t *
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- tttt6666ggggeeeetttt____aaaattttttttrrrr////tttt6666sssseeeetttt____aaaattttttttrrrr((((3333NNNN)))) tttt6666ggggeeeetttt____aaaattttttttrrrr////tttt6666sssseeeetttt____aaaattttttttrrrr((((3333NNNN))))
-
-
-
- T6_RESV10 _u_n_u_s_e_d, _r_e_s_e_r_v_e_d _f_o_r _f_u_t_u_r_e _u_s_e
-
- T6_AUDIT_INFO char * (size = T6_MAX_TEXT_BUF)
-
- T6_UID uid_t *
-
- T6_GID gid_t *
-
- T6_GROUPS t6groups_t *
-
- T6_PROC_ATTR _n_o_t _i_m_p_l_e_m_e_n_t_e_d
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- On successful completion, _t_6_g_e_t__a_t_t_r() returns a pointer to the
- appropriate value if it exists in the attribute structure, otherwise it
- returns NULL. _t_6_s_e_t__a_t_t_r() returns _0 if the attribute structure can
- contain the requested attribute, otherwise it returns -_1 and does not
- change the attribute structure.
-
- An attempt to set a _r_e_s_e_r_v_e_d or _n_o_t _i_m_p_l_e_m_e_n_t_e_d attribute will result in
- error where -_1 is returned, and the error value stored in the global and
- per-thread error locations (See setoserror(3C)).
-
- EEEERRRRRRRROOOORRRR
- [_E_I_N_V_A_L] Invalid argument.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- libt6(3N), t6attr_alloc(3N), t6create_attr(3N), t6free_attr(3N).
-
- SSSSOOOOUUUURRRRCCCCEEEE
- Trusted Systems Interoperability Group
-
- NNNNOOOOTTTTEEEESSSS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
-